package com.diy.sigmund.diyorder.mapper;

import com.diy.sigmund.diyorder.entity.po.OdSeckillCommodity;
import com.diy.sigmund.diyorder.entity.dto.TestBetweenAndDTO;
import org.apache.ibatis.annotations.Param;

/**
 * OdSeckillCommodityMapper继承基类
 */
public interface OdSeckillCommodityMapper extends MyBatisBaseDao<OdSeckillCommodity, String> {

    int decrOneInventory(@Param("commodityId") String commodityId,
            @Param("transactionQuantity") Integer transactionQuantity);

    OdSeckillCommodity testBetweenAnd(TestBetweenAndDTO testBetweenAndDTO);
}